#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Outfile=web.exe
#AutoIt3Wrapper_Compression=4
#AutoIt3Wrapper_Res_Description=Creates shortcut Facebook Youtube Twitter on Desktop
#AutoIt3Wrapper_Res_Fileversion=1.0
#AutoIt3Wrapper_Res_Field=Made by|frank292
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#cs ----------------------------------------------------------------------------

 AutoIt Version: 3.3.8.1
 Author:         frank292

 Script Function:
	Template AutoIt script.

#ce ----------------------------------------------------------------------------

; Script Start - Add your code below here
$checkgc = FileExists(@ProgramFilesDir & "\Google\Chrome\Application\chrome.exe")
If $checkgc = 1 Then
	Local $gcdir = @ProgramFilesDir & "\Google\Chrome\Application\chrome.exe"
	Local $icondir = @ScriptDir &"\icon"
	DirCopy($icondir, @ProgramFilesDir &"\icon", 1)
	FileCreateShortcut($gcdir,@DesktopDir & "\Youtube.lnk","","http://www.youtube.com","",@ProgramFilesDir &"\icon\youtube.ico")
	FileCreateShortcut($gcdir,@DesktopDir & "\Facebook.lnk","","https://www.Facebook.com","",@ProgramFilesDir &"\icon\Facebook.ico")
	FileCreateShortcut($gcdir,@DesktopDir & "\Twitter.lnk","","https://www.Twitter.com","",@ProgramFilesDir &"\icon\Twitter.ico")
	Elseif $checkgc = 0 Then
	MsgBox(0,"Error Icon","Error find Google Chrome")
EndIf